// -----------------------------------------------------------------------
//  <copyright file="LoginLog.cs" company="LiuliuSoft">
//      Copyright (c) 2022-2025 DaprPlus. All rights reserved.
//  </copyright>
//  <site>https://dapr.plus</site>
//  <last-editor>郭明锋</last-editor>
//  <last-date>2025/1/9 12:47</last-date>
// -----------------------------------------------------------------------

using DaprPlus.Domain.Entity;

namespace Liuliu.Fsb.Services.Identity.Domain.Entities;

/// <summary>
/// 实体类：登录日志
/// </summary>
[Description("登录日志")]
public class LoginLog : EntityBase, ICreationTime, IAggregateRoot
{
    public string? Ip { get; set; }

    public string? UserAgent { get; set; }

    public string? Remark { get; set; }

    public DateTime CreatedTime { get; set; }

    public DateTime? LogoutTime { get; set; }

    public long UserId { get; set; }
}
